package day2;

public class Test1 {
	//基本数据类型传参
         public void t(int n) {
        	 System.out.println(n);
         }  //静态不能调用非静态        //主要是变量都会在栈区
public void t2(Student s) {
          System.out.println(s);
          s.setName("Tom");
}
      public void t3(String sss) {
    	  sss = "world";
      }
public static void main(String[] args) {
     Test1 test1 = new Test1();
	test1.t(5); //实参
	/*Student s =
			*/
			String s = "hello";
             test1.t3(s);  
                System.out.println(s);      
}
}
